package com.ruicar.afs.cloud.channel.common.controller;

import com.ruicar.afs.cloud.bizcommon.print.condition.ComPrintFormManageCondition;
import com.ruicar.afs.cloud.common.core.util.IResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Ice
 * @date 2020/9/22 15:56
 */
@RestController
@Slf4j
@AllArgsConstructor
@RequestMapping("/print")
@Api("模板管理")
public class PrintManageController {
    @RequestMapping(value = "/syncData", method = RequestMethod.POST)
    @ApiOperation(value = "模板数据同步")
    public IResponse syncData(@RequestBody ComPrintFormManageCondition condition) {
        return new IResponse().setData(true);
    }
}
